package com.yjxxt.dao;

import com.yjxxt.pojo.Emp;
import com.yjxxt.pojo.EmpAndDept;

import java.util.List;

/**
 * @Author Ben JiMi
 * @Date 2025/8/4 16:10
 * @Version 1.0
 */
public interface EmpDao {
    public List<EmpAndDept> selectEmpAndDept();
    public Emp selectBySalMax();
    public int update(Emp emp);
    public Emp selectByEname(String ename);
    public int delete(int empno);
    public int deleteByChar(String c);
    public Emp insert(Emp emp);
}
